home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / phase5 / ppcrelease / examples / msg6ppc.elf.dump < prev    next >
Text File  |  1998-02-21  |  9KB  |  238 lines

  1.  
  2. Msg6PPC.elf:     file format elf32-powerpc
  3. Msg6PPC.elf
  4. architecture: powerpc:common, flags 0x00000011:
  5. HAS_RELOC, HAS_SYMS
  6. start address 0x00000000
  7.  
  8. Sections:
  9. Idx Name          Size      VMA       LMA       File off  Algn
  10.   0 .text         00000270  00000000  00000000  00000034  2**2
  11.                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  12.   1 .rodata       0000001c  00000000  00000000  000002a4  2**2
  13.                   CONTENTS, ALLOC, LOAD, READONLY, DATA
  14.   2 .data         00000000  00000000  00000000  000002c0  2**0
  15.                   CONTENTS, ALLOC, LOAD, DATA
  16.   3 .bss          00000000  00000000  00000000  000002c0  2**0
  17.                   ALLOC
  18.   4 .comment      00000014  00000000  00000000  000002c0  2**0
  19.                   CONTENTS, READONLY
  20. SYMBOL TABLE:
  21. 00000000 l    d  .text    00000000 
  22. 00000000 l    d  *ABS*    00000000 
  23. 00000000 l    d  .rodata    00000000 
  24. 00000000 l    d  .data    00000000 
  25. 00000000 l    d  .bss    00000000 
  26. 00000000 l    d  .comment    00000000 
  27. 00000000 l    d  *ABS*    00000000 
  28. 00000000 l    d  *ABS*    00000000 
  29. 00000000 l    d  *ABS*    00000000 
  30. 00000000 l    df *ABS*    00000000 Msg6PPC.c
  31. 00000000 l     O .text    00000000 gcc2_compiled.
  32. 00000028       O *COM*    00000004 DataArray
  33. 00000214 g     F .text    0000005c printf
  34. 00000000         *UND*    00000000 PPCGetMessage
  35. 000001f4       O *COM*    00000001 TextBuffer
  36. 00000000         *UND*    00000000 PPCCreatePort
  37. 00000000         *UND*    00000000 PPCDeleteMessage
  38. 00000000         *UND*    00000000 PPCWaitPort
  39. 00000000         *UND*    00000000 PPCAllocVec
  40. 00000000         *UND*    00000000 PPCFreeVec
  41. 00000004 g     F .text    0000020c main
  42. 00000000         *UND*    00000000 PPCDeletePort
  43. 00000004       O *COM*    00000004 MyFile
  44. 00000000         *UND*    00000000 PPCSendMessage
  45. 00000000         *UND*    00000000 PPCCreateMessage
  46. 00000000         *UND*    00000000 strlen
  47. 00000000         *UND*    00000000 PPCGetTaskAttr
  48. 00000000         *UND*    00000000 PPCWrite
  49.  
  50.  
  51. Disassembly of section .text:
  52. 00000000 <gcc2_compiled.> .long 0x407c
  53. main():
  54. 00000004 <main> stwu    r1,-128(r1)
  55. 00000008 <main+4> mflr    r0
  56. 0000000c <main+8> stw    r25,100(r1)
  57. 00000010 <main+c> stw    r26,104(r1)
  58. 00000014 <main+10> stw    r27,108(r1)
  59. 00000018 <main+14> stw    r28,112(r1)
  60. 0000001c <main+18> stw    r29,116(r1)
  61. 00000020 <main+1c> stw    r30,120(r1)
  62. 00000024 <main+20> stw    r31,124(r1)
  63. 00000028 <main+24> stw    r0,132(r1)
  64. 0000002c <main+28> lis    r3,-32766
  65. 00000030 <main+2c> ori    r3,r3,22
  66. 00000034 <main+30> bl    00000034 <main+30>
  67.         RELOC: 00000034 R_PPC_REL24 PPCGetTaskAttr
  68. 00000038 <main+34> mr    r31,r3
  69. 0000003c <main+38> lwz    r29,4(r31)
  70. 00000040 <main+3c> li    r4,1
  71. 00000044 <main+40> rlwinm    r3,r29,2,0,29
  72. 00000048 <main+44> bl    00000048 <main+44>
  73.         RELOC: 00000048 R_PPC_REL24 PPCAllocVec
  74. 0000004c <main+48> mr.    r26,r3
  75. 00000050 <main+4c> beq    000001e4 <main+1e0>
  76. 00000054 <main+50> lwz    r25,0(r31)
  77. 00000058 <main+54> cmpwi    cr1,r25,0
  78. 0000005c <main+58> beq    cr1,000001dc <main+1d8>
  79. 00000060 <main+5c> li    r3,28
  80. 00000064 <main+60> li    r4,1
  81. 00000068 <main+64> bl    00000068 <main+64>
  82.         RELOC: 00000068 R_PPC_REL24 PPCAllocVec
  83. 0000006c <main+68> mr.    r28,r3
  84. 00000070 <main+6c> beq    000001dc <main+1d8>
  85. 00000074 <main+70> li    r0,0
  86. 00000078 <main+74> stw    r0,8(r1)
  87. 0000007c <main+78> addi    r3,r1,8
  88. 00000080 <main+7c> bl    00000080 <main+7c>
  89.         RELOC: 00000080 R_PPC_REL24 PPCCreatePort
  90. 00000084 <main+80> mr.    r27,r3
  91. 00000088 <main+84> beq    000001d4 <main+1d0>
  92. 0000008c <main+88> li    r31,0
  93. 00000090 <main+8c> cmplw    cr1,r31,r29
  94. 00000094 <main+90> bge    cr1,000000cc <main+c8>
  95. 00000098 <main+94> li    r30,0
  96. 0000009c <main+98> mr    r3,r27
  97. 000000a0 <main+9c> li    r4,28
  98. 000000a4 <main+a0> bl    000000a4 <main+a0>
  99.         RELOC: 000000a4 R_PPC_REL24 PPCCreateMessage
  100. 000000a8 <main+a4> cmpwi    cr1,r3,0
  101. 000000ac <main+a8> stwx    r3,r30,r26
  102. 000000b0 <main+ac> beq    cr1,000000c4 <main+c0>
  103. 000000b4 <main+b0> addi    r31,r31,1
  104. 000000b8 <main+b4> cmplw    cr1,r31,r29
  105. 000000bc <main+b8> addi    r30,r30,4
  106. 000000c0 <main+bc> blt    cr1,0000009c <main+98>
  107. 000000c4 <main+c0> cmplw    cr1,r31,r29
  108. 000000c8 <main+c4> blt    cr1,000001c0 <main+1bc>
  109. 000000cc <main+c8> li    r31,0
  110. 000000d0 <main+cc> lis    r9,0
  111.         RELOC: 000000d2 R_PPC_ADDR16_HA .rodata
  112. 000000d4 <main+d0> addi    r11,r9,0
  113.         RELOC: 000000d6 R_PPC_ADDR16_LO .rodata
  114. 000000d8 <main+d4> cmplw    cr1,r31,r29
  115. 000000dc <main+d8> lwz    r0,0(r9)
  116.         RELOC: 000000de R_PPC_ADDR16_LO .rodata
  117. 000000e0 <main+dc> lwz    r9,4(r11)
  118. 000000e4 <main+e0> lwz    r10,8(r11)
  119. 000000e8 <main+e4> lwz    r8,12(r11)
  120. 000000ec <main+e8> stw    r0,0(r28)
  121. 000000f0 <main+ec> stw    r9,4(r28)
  122. 000000f4 <main+f0> stw    r10,8(r28)
  123. 000000f8 <main+f4> stw    r8,12(r28)
  124. 000000fc <main+f8> lwz    r0,16(r11)
  125. 00000100 <main+fc> lwz    r9,20(r11)
  126. 00000104 <main+100> lwz    r11,24(r11)
  127. 00000108 <main+104> stw    r0,16(r28)
  128. 0000010c <main+108> stw    r9,20(r28)
  129. 00000110 <main+10c> stw    r11,24(r28)
  130. 00000114 <main+110> bge    cr1,00000144 <main+140>
  131. 00000118 <main+114> li    r30,0
  132. 0000011c <main+118> mr    r3,r25
  133. 00000120 <main+11c> mr    r7,r31
  134. 00000124 <main+120> addi    r31,r31,1
  135. 00000128 <main+124> mr    r5,r28
  136. 0000012c <main+128> lwzx    r4,r30,r26
  137. 00000130 <main+12c> li    r6,28
  138. 00000134 <main+130> bl    00000134 <main+130>
  139.         RELOC: 00000134 R_PPC_REL24 PPCSendMessage
  140. 00000138 <main+134> cmplw    cr1,r31,r29
  141. 0000013c <main+138> addi    r30,r30,4
  142. 00000140 <main+13c> blt    cr1,0000011c <main+118>
  143. 00000144 <main+140> li    r31,0
  144. 00000148 <main+144> cmplw    cr1,r31,r29
  145. 0000014c <main+148> bge    cr1,00000190 <main+18c>
  146. 00000150 <main+14c> lis    r30,-16
  147. 00000154 <main+150> ori    r30,r30,4160
  148. 00000158 <main+154> mr    r3,r27
  149. 0000015c <main+158> bl    0000015c <main+158>
  150.         RELOC: 0000015c R_PPC_REL24 PPCWaitPort
  151. 00000160 <main+15c> cmplw    cr1,r31,r29
  152. 00000164 <main+160> bge    cr1,00000184 <main+180>
  153. 00000168 <main+164> mr    r3,r27
  154. 0000016c <main+168> bl    0000016c <main+168>
  155.         RELOC: 0000016c R_PPC_REL24 PPCGetMessage
  156. 00000170 <main+16c> cmpwi    cr1,r3,0
  157. 00000174 <main+170> beq    cr1,00000184 <main+180>
  158. 00000178 <main+174> addi    r31,r31,1
  159. 0000017c <main+178> cmplw    cr1,r31,r29
  160. 00000180 <main+17c> blt    cr1,00000168 <main+164>
  161. 00000184 <main+180> cmplw    cr1,r31,r29
  162. 00000188 <main+184> stw    r31,0(r30)
  163. 0000018c <main+188> blt    cr1,00000158 <main+154>
  164. 00000190 <main+18c> li    r31,0
  165. 00000194 <main+190> cmplw    cr1,r31,r29
  166. 00000198 <main+194> bge    cr1,000001c0 <main+1bc>
  167. 0000019c <main+198> li    r30,0
  168. 000001a0 <main+19c> lwzx    r3,r30,r26
  169. 000001a4 <main+1a0> cmpwi    cr1,r3,0
  170. 000001a8 <main+1a4> beq    cr1,000001b0 <main+1ac>
  171. 000001ac <main+1a8> bl    000001ac <main+1a8>
  172.         RELOC: 000001ac R_PPC_REL24 PPCDeleteMessage
  173. 000001b0 <main+1ac> addi    r31,r31,1
  174. 000001b4 <main+1b0> cmplw    cr1,r31,r29
  175. 000001b8 <main+1b4> addi    r30,r30,4
  176. 000001bc <main+1b8> blt    cr1,000001a0 <main+19c>
  177. 000001c0 <main+1bc> mr    r3,r27
  178. 000001c4 <main+1c0> bl    000001c4 <main+1c0>
  179.         RELOC: 000001c4 R_PPC_REL24 PPCDeletePort
  180. 000001c8 <main+1c4> extsh    r3,r3
  181. 000001cc <main+1c8> cmpwi    cr1,r3,0
  182. 000001d0 <main+1cc> beq    cr1,000001c0 <main+1bc>
  183. 000001d4 <main+1d0> mr    r3,r28
  184. 000001d8 <main+1d4> bl    000001d8 <main+1d4>
  185.         RELOC: 000001d8 R_PPC_REL24 PPCFreeVec
  186. 000001dc <main+1d8> mr    r3,r26
  187. 000001e0 <main+1dc> bl    000001e0 <main+1dc>
  188.         RELOC: 000001e0 R_PPC_REL24 PPCFreeVec
  189. 000001e4 <main+1e0> lwz    r0,132(r1)
  190. 000001e8 <main+1e4> mtlr    r0
  191. 000001ec <main+1e8> lwz    r25,100(r1)
  192. 000001f0 <main+1ec> lwz    r26,104(r1)
  193. 000001f4 <main+1f0> lwz    r27,108(r1)
  194. 000001f8 <main+1f4> lwz    r28,112(r1)
  195. 000001fc <main+1f8> lwz    r29,116(r1)
  196. 00000200 <main+1fc> lwz    r30,120(r1)
  197. 00000204 <main+200> lwz    r31,124(r1)
  198. 00000208 <main+204> addi    r1,r1,128
  199. 0000020c <main+208> blr
  200. 00000210 <main+20c> .long 0x404c
  201. printf():
  202. 00000214 <printf> stwu    r1,-32(r1)
  203. 00000218 <printf+4> mflr    r0
  204. 0000021c <printf+8> stw    r28,16(r1)
  205. 00000220 <printf+c> stw    r29,20(r1)
  206. 00000224 <printf+10> stw    r30,24(r1)
  207. 00000228 <printf+14> stw    r31,28(r1)
  208. 0000022c <printf+18> stw    r0,36(r1)
  209. 00000230 <printf+1c> mr    r28,r3
  210. 00000234 <printf+20> lis    r9,0
  211.         RELOC: 00000236 R_PPC_ADDR16_HA MyFile
  212. 00000238 <printf+24> lwz    r29,0(r9)
  213.         RELOC: 0000023a R_PPC_ADDR16_LO MyFile
  214. 0000023c <printf+28> bl    0000023c <printf+28>
  215.         RELOC: 0000023c R_PPC_REL24 strlen
  216. 00000240 <printf+2c> mr    r5,r3
  217. 00000244 <printf+30> mr    r4,r28
  218. 00000248 <printf+34> mr    r3,r29
  219. 0000024c <printf+38> bl    0000024c <printf+38>
  220.         RELOC: 0000024c R_PPC_REL24 PPCWrite
  221. 00000250 <printf+3c> lwz    r0,36(r1)
  222. 00000254 <printf+40> mtlr    r0
  223. 00000258 <printf+44> lwz    r28,16(r1)
  224. 0000025c <printf+48> lwz    r29,20(r1)
  225. 00000260 <printf+4c> lwz    r30,24(r1)
  226. 00000264 <printf+50> lwz    r31,28(r1)
  227. 00000268 <printf+54> addi    r1,r1,32
  228. 0000026c <printf+58> blr
  229. Disassembly of section .rodata:
  230. 00000000 <.rodata> rlwinm    r5,r3,15,1,26
  231. 00000004 <.rodata+4> subfic    r3,r19,25966
  232. 00000008 <.rodata+8> andis.    r0,r1,25209
  233. 0000000c <.rodata+c> subfic    r2,r16,20547
  234. 00000010 <.rodata+10> subfic    r3,r16,29295
  235. 00000014 <.rodata+14> ori    r5,r27,29555
  236. 00000018 <.rodata+18> xoris    r18,r27,2560
  237. Disassembly of section .data:
  238.